#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int i = 0;
    for (i = 3; i <= 100; i += 3)
        printf("%d\n", i);


    return 0;
}

